package demo.entity;



public class User {
	
	private String id;
	
	private String password;
	
	private String name;
	
	private String telPhone;
	
	private int role;
	
	public User() {
		
	}
	
	public User(String id, String password, String name, String telPhone, int role) {
		this.id = id;
		this.password = password;
		this.name = name;
		this.telPhone = telPhone;
		this.role = role;
	}
	
	
	public void setId(String id) {
		this.id = id;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setTelPhone(String telPhone) {
		this.telPhone = telPhone;
	}
	
	public void setRole(int role) {
		this.role = role;
	}
	
	public String getId() {
		return id;
	}
	
	public String getPassword() {
		return password;
	}
	
	public String getName() {
		return name;
	}
	
	public String getTelPhone() {
		return telPhone;
	}
	
	public int getRole() {
		return role;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", password=" + password + ", name=" + name + ", telPhone=" + telPhone + ", role="
				+ role + "]";
	}
}
